<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Page Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" media="screen" href="main.css" />
    
</head>
<body>
    <script>
        // 声明一个字符串
        var helloString = 'hello world'    
        document.write(helloString)
        console.log(helloString)
        // 声明一个对象
        var temp = [
            {name: 'wangxiao', sex: 1, garade: '2016'},
            {name: 'wangxiao2', sex: 1, garade: '2016'},
            {name: 'wangxiao3', sex: 1, garade: '2016'},
            {name: 'wangxiao4', sex: 1, garade: '2016'},
            {name: 'wangxiao5', sex: 1, garade: '2016'},
            {name: 'wangxiao6', sex: 1, garade: '2016'},
            {name: 'wangxiao7', sex: 1, garade: '2016'},
        ]
        console.log('use consloe.log', temp)
        console.dir(temp)
        console.table(temp)
    </script>
</body>
<script src="js/main.js"></script>
</html>